package com.mustafaiev.tair.cts.tapestry.pages;

import org.apache.tapestry5.services.ExceptionReporter;

public class ErrorPage implements ExceptionReporter {

    private String message;

    public void reportException(final Throwable exception)
    {
        message = exception.getLocalizedMessage();
    }

    public String getMessage()
    {
        return message;
    }

}
